/**
 * @filename:IpadUser Mar 4, 2024
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(用户信息实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user")
@ApiModel(value="t_user对象", description="用户信息表")
public class IpadUser extends Model<IpadUser> {

	private static final long serialVersionUID = 1709534766682236L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "主键")
    private Long id;
    
    @TableField(value = "fname") 	
	@ApiModelProperty(name = "fname" , value = "姓名")
    private String fname;
    
    @TableField(value = "ismenu") 	
	@ApiModelProperty(name = "ismenu" , value = "是否注册人脸0未注册,1已注册")
    private Boolean ismenu;
    
    @TableField(value = "feature") 	
	@ApiModelProperty(name = "feature" , value = "人脸特征")
    private String feature;

    @TableField(value = "userNumber")
    @ApiModelProperty(name = "userNumber" , value = "员工编号")
    private String userNumber;
    
    @TableField(value = "imageBinary") 	
	@ApiModelProperty(name = "imageBinary" , value = "图片二进制信息")
    private String imageBinary;
    
    @TableField(value = "department") 	
	@ApiModelProperty(name = "department" , value = "所属车间")
    private String department;

    @TableField(value = "basicPay")
    @ApiModelProperty(name = "basicPay" , value = "基本工资")
    private Double basicPay;

    @TableField(value = "meritPay")
    @ApiModelProperty(name = "meritPay" , value = "绩效工资")
    private Double meritPay;


    @TableField(value = "postWage")
    @ApiModelProperty(name = "postWage" , value = "岗位工资")
    private Double postWage;

    @TableField(value = "workerPay")
    @ApiModelProperty(name = "workerPay" , value = "工龄工资")
    private Double workerPay;


    @TableField(value = "otherSubsity")
    @ApiModelProperty(name = "otherSubsity" , value = "其他补助")
    private Double otherSubsity;

    @TableField(value = "houseSubsidy")
    @ApiModelProperty(name = "houseSubsidy" , value = "住房补贴")
    private Double houseSubsidy;

    @TableField(value = "commutingSubsidy")
    @ApiModelProperty(name = "commutingSubsidy" , value = "通勤补贴")
    private Double commutingSubsidy;

    @TableField(value = "postSubsity")
    @ApiModelProperty(name = "postSubsity" , value = "班长绩效")
    private Double postSubsity;

    @TableField(value = "insurance")
    @ApiModelProperty(name = "insurance" , value = "保险补助")
    private Double insurance;

    @TableField(value = "distribution")
    @ApiModelProperty(name = "distribution" , value = "分配比例")
    private Double distribution;

    @TableField(value = "remark")
    @ApiModelProperty(name = "remark" , value = "备注")
    private String remark;


    @TableField(value = "post")
    @ApiModelProperty(name = "post" , value = "所属岗位")
    private String post;

    @TableField(value = "postDept")
    @ApiModelProperty(name = "postDept" , value = "所属部门")
    private String postDept;

    @TableField(value = "secrecy")
    @ApiModelProperty(name = "secrecy" , value = "保密工资")
    private Double secrecy;

    @TableField(value = "isCold")
    @ApiModelProperty(name = "isCold" , value = "是否冷库")
    private Boolean isCold;

    @TableField(value = "forbidStatus")
    @ApiModelProperty(name = "forbidStatus" , value = "是否禁用")
    private Boolean forbidStatus;


    @TableField(value = "traceability")
    @ApiModelProperty(name = "traceability" , value = "是否有追溯码")
    private Boolean traceability;

    @TableField(exist = false)
    private Double pieceWage;


    @Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
